home *** CD-ROM | disk | FTP | other *** search
/ CD ROM Paradise Collection 4 / CD ROM Paradise Collection 4 1995 Nov.iso / misc / prnf246.zip / PRNSET.DOC < prev    next >
Text File  |  1994-12-20  |  62KB  |  1,340 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.  
  10.  
  11.  
  12.  
  13.  
  14.  
  15.  
  16.  
  17.  
  18.                                        PrnSet                                       PrnSet
  19.                        Universal Printer Setter (Non-Resident)
  20.  
  21.                                     Version 2.96
  22.  
  23.  
  24.  
  25.  
  26.  
  27.  
  28.  
  29.  
  30.  
  31.  
  32.  
  33.  
  34.  
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.                                     Programmer: R. N. Wisan, December, 1994
  50.                                       37 Clinton Street, Oneonta, NY, 13820
  51.                                               internet: WISANR@hartwick.edu
  52.  
  53.                                                       Not Copyright: Enjoy.
  54.           PrnSet 2.96                                                Page 1
  55.  
  56.  
  57.  
  58.  
  59.                                   1  What PrnSet is                                  1  What PrnSet is
  60.  
  61.  
  62.           Prnset is a universal printer setting program:
  63.  
  64.             o It gets its data from a data file, which you can make with
  65.               any text editor.  This makes it possible
  66.  
  67.               (a) to set the print control symbols for any printer
  68.  
  69.               (b) to select and organize the instructions you want to have
  70.                   in PrnSet's repertoire.
  71.  
  72.             o It can operate interactively through a menu, from a batch
  73.               file, or directly from the DOS command line.
  74.  
  75.             o It can send files to the printer from its menu; conversely,
  76.               it can redirect its output (instructions, files and all) to a
  77.               file.
  78.  
  79.             o It needs DOS 2.00 or higher.
  80.  
  81.             o It is non-resident.  It lives on disk.
  82.  
  83.               You normally use a printer setter to prepare the printer be-
  84.           fore printing out a plain text file (like this document).  A
  85.           program which sends its own printer control instructions (like a
  86.           word processor) would over-ride anything you sent it with PrnSet.
  87.           Occasionally, however, you can set something which your program
  88.           doesn't know about.  If your program can't switch between "draft"
  89.           and "letter quality," for instance, you may find you can set one
  90.           of these with PrnSet, and the program will leave it that way.
  91.  
  92.  
  93.                                2  Setting up: The Files                               2  Setting up: The Files
  94.  
  95.  
  96.               As provided: PrnSet comes in the following files:
  97.  
  98.           PRNSET.EXE   The operating program.
  99.  
  100.           PRNSET.DOC   This Manual
  101.  
  102.           PRNSET.DAT   The default data file for PRNSET.EXE.
  103.  
  104.           xxxxxx.DAT   There may be other data files.  Their names suggest
  105.                        what printers they're for,
  106.  
  107.           Besides the PrnSet files, proper, some file manicuring tools are
  108.           on the disk.  To save space, they're packed into self-extractor
  109.           files each with its own DOC file of instructions:
  110.           PrnSet: Setting up: The Files                              Page 2
  111.  
  112.  
  113.  
  114.           COUNTPGS     Used to count the pages and generally size up a file
  115.                        before printing it.  Tells how many pages, how many
  116.                        lines per page, how long the lines, and other useful
  117.                        things.
  118.  
  119.           PAGINA       Breaks a continuous text file into pages, with
  120.                        headers, footers and margins, if desired.  You get
  121.                        lots of choice about them.
  122.  
  123.           PRN2BOTH     Divides a paginated file in two: one containing the
  124.                        odd numbered pages, the other containing the even.
  125.                        You print the odd page file, take the paper out, put
  126.                        it in again other way up and print the even pages on
  127.                        the back.  If necessary, Prn2Both can lay out
  128.                        suitable margins and reverse existing header and
  129.                        footer lines.
  130.  
  131.           MANGLER      Performs various file-manicuring functions like
  132.                        breaking it into smaller pieces, adding or stripping
  133.                        margins, inserting or removing form-feeds, removing
  134.                        unwanted blank lines, de-WordStarring files with
  135.                        strange characters in them etc.
  136.  
  137.                        A file which uses bare carriage returns to do under-
  138.                        lining (CountPgs will tell you if it does) usually
  139.                        puts the text first, followed by CR and the under-
  140.                        scores.  This makes the file unreadable on the
  141.                        screen.  Mangler can swap what's on the line in
  142.                        front of such a carriage return with what's behind
  143.                        it.  Try it both ways, you'll see the difference.
  144.  
  145.           To use a self-extractor, you run it from a disk (or directory)
  146.           that has plenty of space on it.  The self extractor then unpacks
  147.           its contents onto the default disk\directory.
  148.  
  149.               The following file (also a self-extracter) contains a program
  150.           that isn't part of the PrnSet group.  If your word processor
  151.           won't make plain ASCII files, you need a simple editor which
  152.           will, hence:
  153.  
  154.           TERSE.EXE    Contains Terse (T.COM), a simple ASCII text editor
  155.                        and its instruction manual in TERSE.DOC.
  156.  
  157.               You need a working PRNSET.DAT somewhere on your disk.  PrnSet
  158.           will look for it all along the path, so anywhere will do so long
  159.           as it's on the path.  As supplied, PRNSET.DAT contains a trick
  160.           billboard file.[1]  Look over the .DAT files.  If one seems right
  161.           for your printer, put it on your disk (and rename it PRNSET.DAT).
  162.  
  163.           -----------
  164.  
  165.  
  166.           1. PrnSet used to come with a working PRNSET.DAT, in fact the one
  167.              I normally use.  I've set up the billboard because it was too
  168.              easy for the non DOC-reading crowd to punch it up, see the
  169.              legend: "for Epson LQ-800" and decide it wasn't for them.
  170.           PrnSet: Running PrnSet                                     Page 3
  171.  
  172.  
  173.               Even if you find one with the name of your printer, you'll
  174.           want to edit it to taste eventually, but for now, pick out any-
  175.           thing that looks hopeful, just to see how PrnSet works.
  176.  
  177.  
  178.                                   3  Running PrnSet                                  3  Running PrnSet
  179.  
  180.  
  181.               To run PrnSet, both PRNSET.EXE and PRNSET.DAT must be on the
  182.           default disk or somewhere on the DOS path, where PrnSet can find
  183.           it.  The full syntax for starting PrnSet is:
  184.  
  185.                  PRNSET [[d:][\path]datafile] [{+|-}inst[/n]]... [/Q]
  186.  
  187.           Note that everything after PRNSET is optional.  If you enter
  188.           PRNSET bare, it will use PRNSET.DAT as the default file, take its
  189.           data from that, and give you a menu to choose from.  To use a
  190.           different data file, enter the name of the file with, optionally,
  191.           a drive and path designation.  If you give no suffix, PRNSET will
  192.           default to .DAT.  (If you've set a DOS path, PrnSet will search
  193.           all over it for your data file.  You really need to give a path
  194.           specifier only if the file you want is NOT on the path.)
  195.  
  196.               /Q (for "quiet") in the line suppresses the little noises
  197.           with which PrnSet celebrates errors.
  198.  
  199.               That's enough to get you going in the interactive mode.  The
  200.           "[{+|-}inst[/n]]..." options concern the command mode, and we can
  201.           put off explaining it to Section 3.2.
  202.  
  203.  
  204.           3.1  The Interactive Mode          3.1  The Interactive Mode
  205.  
  206.  
  207.               To start PrnSet, type PRNSET and press <Enter>.  Sooner or
  208.           later, (emergencies over) you'll see a menu something like this:
  209.  
  210.           -------------------PrnSet for Epson LQ-800----------------------
  211.           |F1 Help F2 DOS F3 Setup F5 Test  F7 Print F9 ->File <Esc> Quit|
  212.           |--------------------------------------------------------------|
  213.           | Misc         || Fonts        || Style        || Format       |
  214.           |--------------||--------------||--------------||--------------|
  215.           |[Reset Prn   ]|| Pica         || NLQ          || LMargin      |
  216.           | ManualStyle  || Elite        || Cond         || RMargin      |
  217.           | VerySmall    || 15 cps       || Wide         || 8 Line/inch  |
  218.           | Tiny         || Proportional || Underline    || 6 Line/inch  |
  219.           |              ||              || Italic       || n/180"/Line  |
  220.           |              ||              || Dbl Strike   || SkipOver     |
  221.           |              ||              || SpScr        ||              |
  222.           |              ||              || SbScr        ||              |
  223.           |              ||              ||              ||              |
  224.           |--------------------------------------------------------------|
  225.           | Arrows move; <Enter> turn on/off; F10 sets prn;  Del clrs;   |
  226.           ----------------------------------------------------------------
  227.  
  228.           If anything's gone wrong, there'll be a message like "Can't find
  229.           PRNSET.DAT" in the bottom line.  In such a case, check to make
  230.           PrnSet: The Interactive Mode                               Page 4
  231.  
  232.  
  233.           sure PRNSET.DAT is on the default drive or at least somewhere on
  234.           the DOS path.
  235.  
  236.               If your monitor is the old CGA type, you may see a notice:
  237.           "If you can't read the menu above, press the spacebar."  If you
  238.           can't, press the spacebar, and PrnSet will fix the screen.  As a
  239.           matter of fact, it'll automatically dump you into the reconfigu-
  240.           ration menu (see page 14) with everything set in black-and-white,
  241.           asking you "Record this setting permanently? (Y/N)"  Answer Y,
  242.           and it will fix up its own PRNSET.EXE, and also MANGLER.EXE, PA-
  243.           GINA.EXE, and PRN2BOTH.EXE, if it finds them in the default
  244.           drive\directory.
  245.  
  246.  
  247.  
  248.           3.1.1  Setting the Printer          3.1.1  Setting the Printer
  249.  
  250.  
  251.               Assuming all's well, first you specify what instructions you
  252.           want to send the printer; then you send them.  The menu explains
  253.           itself pretty well, and you can get some help by pressing F1.
  254.  
  255.  
  256.           To Specify What to Send,
  257.  
  258.            1. Use the cursor pad keys to move the emphasized bar to the in-
  259.               struction you want to give.  Then press <Enter>.  One press
  260.               toggles the instruction ON ("Tell the printer to turn this
  261.               feature on"), another <Enter> toggles it OFF ("Tell the
  262.               printer to turn this off"), and a third toggles it back to
  263.               silent ("Say nothing to the printer about this feature").
  264.               Some instructions (like "Pica") have no OFF instruction, so
  265.               they just toggle between ON and silent.  Some instructions
  266.               (like "LMargin") need a number, so when you toggle it on,
  267.               you're asked for "Number."  Type in what you want and press
  268.               <Enter>.
  269.  
  270.                                            or,
  271.  
  272.            2. Just type the first two letters of the instruction you want
  273.               (uppercase or lowercase doesn't matter).  "EL" for "Elite" is
  274.               the equivalent of moving to "Elite" and pressing <Enter>.
  275.  
  276.  
  277.           To Send the Instructions:
  278.  
  279.               Press F10.  As you enter instructions, the ones that are live
  280.           are highlighted.  They aren't sent to the printer until you press
  281.           F10.  Then, you get a solemn announcement to that effect, and you
  282.           can press either Esc to quit or any other key to continue in
  283.           PrnSet.
  284.  
  285.               If you send several instructions at once, they'll be sent NOT
  286.           in the order you punched but in the order of the screen, from top
  287.           to bottom for the left column, then top to bottom for the next
  288.           column and so on.  Thus, if a later instruction cancels an ear-
  289.           lier one, that's what you'll get.  For example, if you set "Pica
  290.           PrnSet: Setting the Printer                                Page 5
  291.  
  292.  
  293.           ON," "Elite ON," "8 Line/inch ON," "6 Line/inch ON" from the menu
  294.           above.  It would turn on Pica, then turn on Elite (which cancels
  295.           Pica), then 8 lines per inch, then 6 lines per inch (canceling 8
  296.           per inch), and you'd wind up with Elite at 6 lines per inch.
  297.           That's why "Reset Prn" is put first, so it can clear the printer
  298.           before anything else is sent.
  299.  
  300.               Unless you tell it to, PrnSet never clears the printer.  That
  301.           means that successive sendings, even successive runs of PrnSet
  302.           are cumulative.  If you send "Elite", quit PrnSet, run PrnSet
  303.           again and send "Wide", you have a printer set for Wide Elite.
  304.  
  305.  
  306.           If You've Made a Mess:
  307.  
  308.               You can clear PrnSet by pressing Del.  That turns all in-
  309.           structions silent and puts the bar back at upper left. This does
  310.           nothing to the printer.  It just lets you start PrnSet afresh.
  311.  
  312.  
  313.           To See What You've Done:
  314.  
  315.               Press F5, and PrnSet will send a test line of type to the
  316.           printer.
  317.  
  318.  
  319.  
  320.           3.1.2  Printing and Sending to Files          3.1.2  Printing and Sending to Files
  321.  
  322.  
  323.           To Send Files to the printer:
  324.  
  325.               Press F7, and PrnSet will send a file to the printer.  If you
  326.           use wildcards ("*" and "?") to say what files you want, PrnSet
  327.           will confirm each file before printing it.  For speed, the file
  328.           will be read and sent to the printer in blocks. If you change
  329.           your mind after it starts, you can't stop it on a dime, but press
  330.           <Esc> and it will stop after the next block of print.
  331.  
  332.               The point of this facility is to allow you to sit in PrnSet
  333.           and send a series of files, each with suitable printer settings,
  334.           including added FF's as you'd have to do if they end in the mid-
  335.           dle of a page.  The alternative is to make up a batch file to
  336.           copy the files, calling PrnSet between them with command line in-
  337.           structions.
  338.  
  339.  
  340.           To Redirect PrnSet's Output:
  341.  
  342.               Press F9, and PrnSet will ask you for a file name.  If you
  343.           give one, everything which would normally go to the printer will
  344.           be sent to that file.  To resume sending to the printer, press F9
  345.           again; it's a toggle.  The point here is to allow you to make up
  346.           a file containing text(s) with suitable printer instructions, to
  347.           be copied to a printer somewhere and somewhen else.  If you have
  348.           suitable .DAT files, you can set up files this way for printers
  349.           different from your own.  Also, by combining PrnSet with the DOS
  350.           PrnSet: Printing and Sending to Files                      Page 6
  351.  
  352.  
  353.           PRINT command, you can pretty quickly set up files with printer
  354.           instructions and start it all printing in the background.
  355.  
  356.               When PrnSet sends files to a printer, it adds a newline (car-
  357.           riage return and line-feed) to files which don't end with one.
  358.           It doesn't do this when it sends to a file.
  359.  
  360.  
  361.  
  362.           3.1.3  Stepping Briefly into DOS          3.1.3  Stepping Briefly into DOS
  363.  
  364.  
  365.               When you get to using PrnSet to make up files with various
  366.           texts, printer controls and such, you may want to use some other
  367.           facility that has to be launched from the DOS command line.  F2
  368.           opens a DOS door. That means you seem to be back at the regular
  369.           DOS command line.  From there, you can do (almost) anything you
  370.           can normally do at the command line.  When you're done, type EXIT
  371.           and press <Enter> to return to PrnSet.
  372.  
  373.               You'll notice the DOS prompt shows an asterisk (*) that isn't
  374.           normally there.  It's to remind you that you're not at the normal
  375.           DOS command line.  When you use this facility, PrnSet remains in
  376.           the computer's memory.  If you do a CHKDSK, you'll notice that
  377.           the number of "bytes free" is less than usual.  For this reason,
  378.           you want to keep in mind you're standing on PrnSet's shoulders
  379.           (it's easy to forget).[2]
  380.  
  381.               One warning: if you've started to send things to a file from
  382.           PrnSet, don't try to work the same file after you step through
  383.           the DOS door. You can confuse the various sets of DOS into open-
  384.           ing and closing the same file several times.  It makes a mess of
  385.           the file.
  386.  
  387.  
  388.           3.2  The Command Line Mode          3.2  The Command Line Mode
  389.  
  390.  
  391.  
  392.               When you know what's on PrnSet's menu, you may prefer to skip
  393.           all the foofaraw and enter what you want directly at the DOS com-
  394.           mand line. Naturally, if you want to run PrnSet from a batch
  395.           file, you have to use this method.  To do it, after "PRNSET " or
  396.           -----------
  397.  
  398.  
  399.           2. If you're not familiar with this manoever, try this experi-
  400.              ment: Do a CHKDSK and make note of the number of bytes free.
  401.              Then run PrnSet and press F2.  Do another CHKDSK and note the
  402.                                            _______             bytes free.  Run PrnSet again without doing an EXIT first.
  403.              Run another CHKDSK.  Keep doing this until the computer re-
  404.              fuses.  Either DOS won't run another PrnSet or another CHKDSK
  405.              or PrnSet won't give you another DOS command line. You've
  406.              filled up all the available memory, as the CHKDSK figures
  407.              should show.  If you're at DOS do an EXIT; if you're in PrnSet
  408.              press <Escape> to quit.  Keep doing this until you're back to
  409.              the home DOS command line, without an asterisk.
  410.           PrnSet: The Command Line Mode                              Page 7
  411.  
  412.  
  413.           "PRNSET filename ", put a "+" (to say "Turn on") or a "-" ("Turn
  414.           off") and the name of the feature you want turned on or off.
  415.           Thus:
  416.  
  417.                  PRNSET +ELITE
  418.  
  419.           turns on Elite without going through the menu.  If all's well,
  420.           PrnSet will confirm what it sent to the printer.  Otherwise, you
  421.           get an error message.  You can send several instructions at once.
  422.           To turn on Elite, turn off italics, and set the left margin to 12
  423.           characters, you enter:
  424.  
  425.                  PRNSET +ELITE -ITALIC +LMARGIN/12
  426.  
  427.           As a matter of fact, you need only the first two letters of the
  428.           instruction (that's all PrnSet will notice) and they can be upper
  429.           or lower case.  You'd get the same effect with:
  430.  
  431.                  PRNSET +EL -it +Lm/12
  432.  
  433.           Notice how the number for LMargin is entered with a slash, as
  434.           /12.  Remember, the full syntax for starting PrnSet is:
  435.  
  436.                  PRNSET [[d:][\path]datafile] [{+|-}inst[/n]]...
  437.  
  438.           Here are the rules for instructions:
  439.  
  440.                                  ____              - Each instruction must begin with either + or -.
  441.  
  442.               - Each instruction that requires a number must end with /n
  443.                 (where n is the number).
  444.  
  445.               - Spaces must be used to separate instructions from each
  446.                 other.
  447.  
  448.               - There must be no spaces in the instruction.
  449.  
  450.               In the command line mode, unlike the menu mode, instructions
  451.           are executed in the order in which they are given.  Thus:
  452.  
  453.                  PRNSET +pica +elite
  454.  
  455.           leaves the printer set for elite, while
  456.  
  457.                  PRNSET +elite +pica
  458.  
  459.           leaves it set for pica.
  460.  
  461.               Run this way, PrnSet reports what it's doing.  You enter:
  462.  
  463.                  PRNSET +ELITE +DBL
  464.           PrnSet: The Command Line Mode                              Page 8
  465.  
  466.  
  467.           And Prnset will reply with:
  468.  
  469.                  PrnSet 2.96 for Epson LQ-800
  470.                  "Elite ON" sent to printer.
  471.                  "Dbl Strike ON" sent to printer.
  472.                  That's it.
  473.  
  474.           If you run PrnSet from a batch file, you may want to suppress
  475.           this report.  You can do that by redirecting the output to nul
  476.           (or to a file if you want it):
  477.  
  478.                 PRNSET +ELITE +DBL >NUL
  479.  
  480.           If something goes wrong, you'll still get error messages on the
  481.           screen and hear the warning "Beep/Bop".  (Don't worry about the
  482.           print instructions.  They will go to the printer regardless where
  483.           you're sending the screen messages.)
  484.  
  485.               If you insist on seeing and hearing nothing whatever, you can
  486.           suppress even the sounds and the error messages by adding the
  487.           parameter /Q.  If the line in your batch file says
  488.  
  489.                  PRNSET +ELITE +DBL +BUNGLE /Q
  490.  
  491.           Prnset will do the job or make a mess, but it won't say a thing.
  492.  
  493.  
  494.                         4  Making a Data File for Your Printer                        4  Making a Data File for Your Printer
  495.  
  496.  
  497.               Everything PrnSet knows about your printer it gets from the
  498.           data file.  By default, it uses file PRNSET.DAT, though you can
  499.           tell it otherwise when you load.  If you have several printers,
  500.           you might want to keep separate data files for them and tell
  501.           PrnSet to use the one you want when you load it.
  502.  
  503.               To make a data file, you can use any text editor that can re-
  504.           frain from putting funny characters in the files.  (WordStar
  505.           works, for example, but only in the nondocument mode).[3]  You
  506.           will need to work out in advance a list of the features you want
  507.           to control from the menu and the ASCII numbers of the symbols the
  508.           printer must be sent to turn each of those features on and off.
  509.           You'll need to explore your printer's manual to find these.
  510.  
  511.  
  512.  
  513.  
  514.           -----------
  515.  
  516.  
  517.           3. If you have nothing else, EDLIN, the silly line editor that
  518.              comes with DOS would do.  Since I wouldn't wish EDLIN on a
  519.              dog, I've put a simple text editor called Terse on the disk.
  520.              Please note that Terse is not in the public domain.  It's a
  521.              shareware program, copyright by Joseph (Yossi) Gil.  If you
  522.              find you use it, you ought to pay up the reasonable price
  523.              asked.
  524.           PrnSet: Making a Data File for Your Printer                Page 9
  525.  
  526.  
  527.           Here are the rules for a PrnSet data file:
  528.  
  529.            1. Title: The first line is a title.  The first 18 characters of
  530.               what you put here will appear after "PrnSet 2.96 for " at the
  531.               top of the menu.  Best use the name of the printer.  (But,
  532.               see Sec. 4.1, "Hex Numbers and Characters," p. 10 below.)
  533.  
  534.            2. Categories: Any line (after the first) which does not contain
  535.               an equal sign ("=") will be taken as the name of a category.
  536.  
  537.                 - The category name may have up to 12 characters.
  538.  
  539.                 - You may have up to four categories, and each category may
  540.                   have up to 17 instruction items in it.
  541.  
  542.                 - Items entered after a category name will be assigned to
  543.                   that category.  If no items are entered for a category,
  544.                   the category is ignored.  (If you enter two category
  545.                   names with nothing between, only the second one counts.)
  546.  
  547.            3. Items: The format for an instruction item goes like this:
  548.  
  549.                      Name= n,n,n...[#|$n].. [m,m..]
  550.  
  551.               That means:
  552.  
  553.               (a) There must be a name (up to 12 characters) followed by an
  554.                   equal sign followed by at least one series of numbers.
  555.  
  556.               (b) The first series of numbers (n,n,n...) must be the ASCII
  557.                   numbers (decimal) for the symbols to turn ON the instruc-
  558.                                                _______                  tion.[4]  I say again, ASCII numbers. Enter "Escape E" as
  559.                   27,69.  If you want to put a character (instead of its
  560.                   ASCII number) in the file, you must precede it with a
  561.                   backslash (\). "Escape E", therefore, could also be
  562.                   written: 27,\E.
  563.  
  564.               (c) The numbers must be separated with commas.  There must be
  565.                   no spaces in the string.
  566.  
  567.               (d) At any point in the ON sequence, a Dollar sign with a
  568.                   numeral ($1 to $4) or a pound sign (#) will tell PrnSet
  569.                   to get a number from the user for the instruction (like
  570.                   LMargin).  "#" tells PrnSet to get the number in the form
  571.                   of a byte.  "$n" tells it to get the number in the form
  572.                   of a string of n numerals.  If necessary, zeros will be
  573.                   prefixed to make up the n characters: given $4, PrnSet
  574.                   will turn the entry "23" into "0023".
  575.  
  576.  
  577.  
  578.           -----------
  579.  
  580.  
  581.           4. If you prefer to use hex numbers or to enter (most) characters
  582.              directly, there's a way to do it.  See Section 4.1, on "Hex
  583.              Numbers and Characters," p. 10 below.
  584.           PrnSet: Making a Data File for Your Printer               Page 10
  585.  
  586.  
  587.               (e) After the first string, you can put a space followed by a
  588.                   second string of numbers to provide a turn-OFF instruc-
  589.                   tion.  If there's no OFF string, then:
  590.  
  591.                     - If the instruction takes a number (ON string contains
  592.                       # or $n), PrnSet will send ON 0 for off.  (That would
  593.                       work for Left Margin, but not for Right Margin.)
  594.  
  595.                     - If it doesn't take a number, PrnSet will send no OFF
  596.                       signal at all.  It will toggle between ON and silent.
  597.                       (That's how "Pica" and "Elite" work on Epsons.)
  598.  
  599.            4. Comments: Two kinds of comment are possible:
  600.  
  601.               (a) Semicolons and anything on a line after a semicolon will
  602.                   be ignored altogether, so you can use semicolons to put
  603.                   REMarks in your file.  Blank lines also are ignored.
  604.  
  605.               (b) You can put comments in the menu itself in the form of
  606.                   subheadings in the columns --labels, divider lines and
  607.                   such.  To do this, begin the line with an @ sign.  A lone
  608.                   @ sign causes a blank row in the menu.  An @ sign follow-
  609.                   ed by a single character makes a row of that character:
  610.                   @- would produce a line of hyphens, -------, across the
  611.                   menu column.  If you put more than one character (you're
  612.                   allowed up to 12) after the @, PrnSet will center the
  613.                   text in the column.
  614.  
  615.  
  616.           4.1  Using Hex Numbers and Characters          4.1  Using Hex Numbers and Characters
  617.  
  618.  
  619.               As explained above, PrnSet normally accepts only decimal num-
  620.           bers, separated by commas, in the data file.  Some people may
  621.           prefer Hex numbers (if nothing else, they're shorter), and some
  622.           may want to enter the characters directly.  To make PrnSet accept
  623.           data in these forms, you put a dollar sign on the end of the
  624.           Title string (the first string in the data file), followed by a
  625.           code letter.  In brief, the codes are:
  626.  
  627.                   $H =  Use hex numbers (wherever you need numbers)
  628.                   $C =  Use characters (or decimal numbers after a backslash)
  629.           $HC or $CH =  Use characters (or hex numbers after a backslash)
  630.  
  631.           The $H tail won't show, of course; PrnSet will bobtail the title
  632.           string at the $.  Notice that you get your choice of decimal or
  633.           hex numbers, but you must stick to one or the other.  You can't
  634.           put both hex and decimal numbers in the same data file.
  635.  
  636.               If you prefer to use characters for most of your entries, you
  637.           put $C after the title string.  This mode is a little tricky.
  638.           Some characters, like "E" are easy to enter, but some, like "Es-
  639.           cape" are not.  What and how you can put these into the file de-
  640.           pends on your editor.  If necessary, you can use the backslash to
  641.           enter by the ASCII numbers.  In character mode, to enter "Escape
  642.           E" you might use \027E.  Notice two things about this.  First,
  643.           there are no commas separating the characters.  Second, the Es-
  644.           PrnSet: Using Hex Numbers and Characters                  Page 11
  645.  
  646.  
  647.           cape character is represented with three digits.  In this mode,
  648.                    _____          the next three digits after a backslash are taken to be the ASCII
  649.           number called for.  For numbers smaller than 100, you must add a
  650.           leading zero or two to pad it out to 3 places.  If you like Hex
  651.           numbers, $CH or $HC sets PrnSet for characters or backslashes
  652.                                                                  ___          followed by hex numbers.  In hex, you must use exactly two digits
  653.           for each number; "Escape E" could now be entered as \1BE.[5]
  654.  
  655.               Keep in mind that in character mode, some characters can't be
  656.           entered straight.  You can't enter a carriage return, because
  657.                                          _____          that ASCII number would merely cause a carriage return and ter-
  658.           minate the line at that point.  Nor can you enter a blank space,
  659.           because a blank space is PrnSet's string terminator sign, and
  660.           would be construed merely as the end of the string.  So too, the
  661.           dollar sign, the pound (#) sign, and the backslash all have spec-
  662.           ial meanings.  You must enter these numerically or precede them
  663.           with a backslash:
  664.  
  665.                   Form-Feed:       \012 (dec)  \0C (hex)
  666.                   Carriage Return: \013        \0D
  667.                   Escape:          \027        \1B
  668.                   Blank Space: \   \032        \20
  669.                   Pound:       \#  \035        \23
  670.                   Dollar:      \$  \036        \24
  671.                   Backslash:   \\  \092        \5C
  672.  
  673.           To see how these data forms look, compare three of the supplied
  674.           printer files: LQ-800.DAT is the data file I use myself for an
  675.           Epson LQ-800. LQ-800H.DAT and LQ-800HC.DAT are exactly equivalent
  676.           files, in hex and characters-with-hex-number form.
  677.  
  678.  
  679.  
  680.           4.2  Helpful Hints About Data Files          4.2  Helpful Hints About Data Files
  681.  
  682.  
  683.               To see how a file should look, see any of the printer DAT
  684.           files supplied as a model.  A few hints:
  685.  
  686.               - Each category will occupy one column on the menu, and it
  687.                 can have 17 instruction lines.  If you need more than that,
  688.                 you'll have to devote a second category like "Fonts" and
  689.                 "Fonts Cont'd".
  690.  
  691.                 You can overdo the use of @ sign lines to make sub-headings
  692.                 on the screen; each of them uses up one of the 17 lines in
  693.                 the column.
  694.  
  695.               - Remember that the order in which you put things in the data
  696.                 file is the order in which they will appear on the screen,
  697.           -----------
  698.  
  699.  
  700.                                            ___          5. If your editor can do it, you can put a genuine "escape"
  701.              character (#27, 1B hex) or maybe a line-feed (#10, 0A hex) or
  702.              form-feed (#12, 0C hex) in the file.  Don't try to copy such a
  703.              file to the printer, though.
  704.           PrnSet: Helpful Hints About Data Files                    Page 12
  705.  
  706.  
  707.                 and that is the order in which (in the menu mode) they'll
  708.                 go to the printer. Consider what must be done before what.
  709.                 If you use a tab set, it may matter whether you send it
  710.                 before or after a font width change.  Put "Reset Printer"
  711.                 first.  (Pointless to send other things and then reset, but
  712.                 you may want to reset and then send.)
  713.  
  714.               - Be careful what names you use.  PrnSet recognizes only the
  715.                 first 2 characters for command line entries or keyboard
  716.                 interaction.  (It's not case-sensitive; upper and lower
  717.                 case count the same.) If you use "Superscript" and "Sub-
  718.                 script", PrnSet will treat them both as "SU" and you'll get
  719.                 whichever comes first.  That's why my PRNSET.DATs call them
  720.                 "SperScript" and "SbScript".
  721.  
  722.               - It's tempting to put everything the printer can do into
  723.                 your data file.  It may be better to keep the menu clean.
  724.                 If you never use international alphabets, why clutter the
  725.                 menu with them?  It's easy to edit your data file if you
  726.                 need to expand your offering. You can make several files
  727.                 for different purposes.  Call for the one you want on the
  728.                 command line or copy it to PRNSET.DAT.
  729.  
  730.                 Some of the ready made DAT supplied on the disk are ones
  731.                 I've used.  Those printers will do lots of things I never
  732.                 wrote into the file, because so far I'm not using them.
  733.                 Explore your printer manual.
  734.  
  735.               - You can, in a sense, create features your printer doesn't
  736.                 have by combining instructions it does have.  For instance,
  737.                 my LQ-800.DAT (for an Epson LQ-800) contains:
  738.  
  739.                     Manual Style= 27,103,27,48  27,80,27,50
  740.                     Very Small= 27,83,0,27,80,15,27,51,16  27,50,18,27,84
  741.                     Tiny= 27,83,0,27,77,15,27,51,16  27,50,18,27,80,27,84
  742.  
  743.                 "Manual Style" is 15 char/inch and 8 lines/inch, which just
  744.                 puts an 8.5" x 11" pica layout onto a 5.5" x 8.5" page for
  745.                 IBM manual size binders (provided the file is paged with
  746.                 FF's).  "Very Small" and "Tiny" are both superscript at
  747.                 16/180 inches per line.  "Very Small" uses condensed pica
  748.                 at 17 characters per inch, while "Tiny" puts 20 by using
  749.                 condensed elite.  I may have overdone it.
  750.  
  751.               - If you have trouble, you can make PrnSet report exactly
  752.                 what data it's getting from your file.  It puts the report
  753.                 in a file, PRNSET.LST, and it's not a bad idea, whenever
  754.                 you make a data file, to see what PRNSET.LST will show.
  755.                 See Section 5.4, p. 16 below.
  756.           PrnSet: Printer Reset                                     Page 13
  757.  
  758.  
  759.  
  760.           4.3  Two Special Codes          4.3  Two Special Codes
  761.  
  762.  
  763.  
  764.           4.3.1  Printer Reset          4.3.1  Printer Reset
  765.  
  766.  
  767.               A printer "reset" or "initialization" is supposed to restore
  768.           all the printer's default settings; that is, the condition it's
  769.           in when first turned on.  There are two ways to do this:
  770.  
  771.           __ _________          In Hardware: There is a signal the computer can send which is
  772.               supposed to re-initialize the printer.  When this happens,
  773.               you can see and hear the printer do a front-and-center, ex-
  774.               actly as it does when you turn it on.
  775.  
  776.               PrnSet has a special code, 0 0 0, for this.
  777.  
  778.                  Init Printer= 0,0,0
  779.  
  780.               in PRNSET.DAT, will put "Init Printer" into the menu.  When
  781.               you send it, PrnSet will send the hardware reset signal, and
  782.               you should hear the click-jump as the printer sets itself up.
  783.  
  784.           __ ________          In Software: Some Printers have a reset instruction which you can
  785.               send as you send any other printer instruction.  Almost any
  786.               Epson can be reset in this way by Esc "@" (27,64).  A soft-
  787.               ware reset is usually silent.
  788.  
  789.               To use this kind of reset, you put it into PRNSET.DAT like
  790.               any other instruction.  If your printer has no software reset
  791.               instruction, you can make a sort of reset instruction by mak-
  792.               ing a string that turns off everything you might have turned
  793.               on.  PrnSet will accept up to 40 numbers per instruction.
  794.  
  795.               Experiment to see which of these methods you want.  You may
  796.           want both of them; they have somewhat different effects.  On an
  797.           Epson, a software reset wipes out all instructions but does not
  798.           remove a downloaded software font; a hardware reset wipes out
  799.           everything.  Hardware resets may not work, however, if you use a
  800.           printer buffer.  Further, PrnSet's 0,0,0 hardware reset instruc-
  801.           tion operates only when you are sending to the printer.  It does
  802.           nothing when you've redirected output to a file (or to "PRN");
  803.  
  804.  
  805.           4.3.2  Keyboard Entry on the Fly          4.3.2  Keyboard Entry on the Fly
  806.  
  807.  
  808.               Occasionally, you may want to send a string of instructions
  809.           you never thought to put in your data file.  Beginning with ver-
  810.           sion 2.92, you can make a menu item to let you do it.  If you put
  811.           ____          four zeros, 0,0,0,0, for an ON string (and leave out the off
  812.           string), PrnSet will let you enter numbers for it when you turn
  813.           it ON in the menu.[6]  Put something like this in the data file:
  814.           PrnSet: Keyboard Entry on the Fly                         Page 14
  815.  
  816.  
  817.              Keyboard= 0,0,0,0
  818.  
  819.           That'll put an item named "Keyboard" on your menu.  When you turn
  820.           it on, it will prompt you for a string.  You must use the same
  821.           format (hex or decimal numbers, with or without characters) as
  822.           your data file, and the prompt will remind you what that is. If
  823.           you want to repeat that sequence, turn on "Keyboard" again. It
  824.           will pop up showing the string you gave it before; you can change
  825.           it, or press <Enter> to keep it and continue.
  826.  
  827.               What pops up isn't a simple replica of what you entered.
  828.           It's translated back from what PrnSet extracted from your string.
  829.           To make sure that PrnSet understood, press <Enter> a couple of
  830.           times, and you'll see what actually went in.
  831.  
  832.               Like any other datum, PrnSet will file what's in "Keyboard"
  833.           whenever you press F10 in the Reconfiguration Menu to file your
  834.           data to PRNSET.LST (see page 17 about filing data this way).  If
  835.           you change the data form when when you file PRNSET.DAT, by the
  836.           way, the change will hold true for data entry and display for
  837.           "Keyboard".
  838.  
  839.               This feature is available only from the menu.  You can't call
  840.           for it from the command line.
  841.  
  842.  
  843.  
  844.  
  845.  
  846.  
  847.  
  848.  
  849.  
  850.  
  851.  
  852.  
  853.  
  854.  
  855.  
  856.  
  857.  
  858.  
  859.  
  860.  
  861.  
  862.  
  863.  
  864.  
  865.  
  866.  
  867.  
  868.           -----------
  869.  
  870.  
  871.           6. 0,0,0,0 would be right in pure number modes.  In Characters
  872.              with Hex, it would be \00,\00,\00,\00 and \000,\000,\000,\000
  873.              in Characters with decimal.
  874.           PrnSet: Screen Colors                                     Page 15
  875.  
  876.  
  877.                           5  Screen Colors and Other Things                          5  Screen Colors and Other Things
  878.  
  879.  
  880.               PrnSet has a built-in reconfiguration procedure.  From its
  881.           regular menu, press F3, and you'll get a different menu:
  882.  
  883.           -------------------------------------------------------------
  884.           |                                                           |
  885.           |                   Reconfiguration Menu                    |
  886.           |                                                           |
  887.           |                   F1   Emphasized   F2                    |
  888.           |                                                           |
  889.           |                   F3   Plain Text   F4                    |
  890.           |                                                           |
  891.           |                   F5     Frame      F6                    |
  892.           |                                                           |
  893.           |                   F7    Reversed    F8                    |
  894.           |                                                           |
  895.           |          To adjust foregrounds use F-keys plain           |
  896.           |          For backgrounds, use Ctrl with F-keys            |
  897.           |                                                           |
  898.           |              To file current data press F10               |
  899.           |                                                           |
  900.           | <Esc> cancels changes       To accept the colors: <Enter> |
  901.           |                                                           |
  902.           -------------------------------------------------------------
  903.  
  904.           From this menu, you can do two things.  You can adjust the color
  905.           scheme, and you can make a record of the printer data read from
  906.           the .DAT file to help debug a new .DAT file.
  907.  
  908.  
  909.           5.1  Screen Colors          5.1  Screen Colors
  910.  
  911.  
  912.               At the Reconfiguration Menu, press the indicated function
  913.           keys and the menu will change colors to show what you've done.
  914.           The colors cycle.  Odd-numbered keys (F1, F3, F5) take you round
  915.           the cycle one way; even-numbered keys go around the other way.
  916.           Pressing the keys plain adjusts foreground colors.  To adjust
  917.           backgrounds, hold down Ctrl while you press the keys. Experiment.
  918.           What looks best depends on your taste and your monitor.  Here are
  919.           two settings I like:
  920.  
  921.               Plain text:      Green on Black     White on Blue
  922.               Emphasized:      White on Black     Yellow on Blue
  923.               Frame:           Black on Brown     Black on Cyan
  924.               Reversed:        Black on White     Black on White
  925.  
  926.               When you like the setting, press <Enter>.  Before it lets you
  927.           out, PrnSet will ask
  928.  
  929.                        Record this setting permanently? (Y/N)
  930.  
  931.           If you press Y, PrnSet will make the change permanent by rewrit-
  932.           ing part of PRNSET.EXE.  This works only if PRNSET.EXE is on the
  933.           default drive:\directory, so make sure you have it there when you
  934.           PrnSet: Screen Colors                                     Page 16
  935.  
  936.  
  937.           want to reconfigure.  If they are on the default drive:\direc-
  938.           tory, PrnSet will also set colors in PAGINA.EXE, PRN2BOTH.EXE,
  939.           MANGLER.EXE.  (COUNTPGS.EXE, PRNSERT.EXE, and Terse have nothing
  940.           to set; they use whatever color they find on the screen.)
  941.  
  942.  
  943.           5.2  If You Need Black & White:          5.2  If You Need Black & White:
  944.  
  945.  
  946.               If your monitor is a monochrome MDA type, PrnSet will auto-
  947.           matically set the colors to black-and-white when it starts. You
  948.           can still change "colors" with the Reconfiguration menu. This
  949.           could matter if you want PrnSet to whiten its friends, Mangler,
  950.           Pagina, and Prn2Both.  Go into the Reconfig menu and change any
  951.           color to something else and back (say, punch F1 and then F2).
  952.           That makes PrnSet think you've changed something; when you press
  953.           <Enter>, it'll go into its act and redo all the files.
  954.  
  955.               If you have a black and white or a gray scale monitor, like
  956.           many of the laptop/notebook computers, it may be difficult to see
  957.           the display.  Go to the "colors" configuration screen (that is,
  958.           press F3) and press any F-key, F1 to F8, until the screen comes
  959.                                      ___          clear.  The trick is, turn any foreground black, and PrnSet will
  960.           offer a straight white on black screen.  It will startle you if
  961.           it happens when you're using a color screen.  Fear not.  Punch
  962.           again, and it will go back to color.
  963.  
  964.  
  965.           5.3  Warning About File Compactors          5.3  Warning About File Compactors
  966.  
  967.  
  968.               As I distribute them, the EXE files are in normal uncom-
  969.           pressed form.  Many people like to run an EXE file compressor
  970.           like LZEXE or PKLITE on their program files to save disk space.
  971.           PrnSet and its associated "Friends" work fine compressed that
  972.           way, but they can no longer be re-colored: PrnSet can no longer
  973.           find the place to change when it tries to record the new colors.
  974.  
  975.               If you want to compress the files, get them colored to your
  976.           taste first.  Once the files are compressed, to re-color them
  977.           you'll have to decompress them or (a word to the wise, here) dig
  978.           out an uncompressed copy.
  979.  
  980.  
  981.           5.4  Debugging Help          5.4  Debugging Help
  982.  
  983.  
  984.               When you're writing a printer data file, mistakes are easy to
  985.           make and often curiously hard to spot.  For this reason, I've
  986.           left a debugging feature in the program.
  987.  
  988.               If PrnSet is unable to load its data because of a defect in
  989.           the .DAT file (too much data, too many categories, etc.) it will
  990.           create a file called PRNSET.LST on the default drive:\directory
  991.           containing a record of the data it succeeded in getting.  In such
  992.           a case, the  data in PRNSET.LST will be in the same format (hex
  993.           or decimal numbers, with or without characters) as the .DAT file.
  994.           PrnSet: Debugging Help                                    Page 17
  995.  
  996.  
  997.           (If it isn't, the title or its $ string must be missing, erron-
  998.           eous, or preceded by a semi-colon.)  If the data loads all right
  999.           but the printer doesn't seem to be doing what you meant, you can
  1000.           force PrnSet to create a PRNSET.LST by pressing F10 at the Recon-
  1001.           figuration Menu.  You get a chance, then, to change the form of
  1002.           the data.  If you wrote the DAT file in numbers, it may be help-
  1003.           ful to see them printed out as characters.
  1004.  
  1005.               PRNSET.LST should contain the title, The data format option
  1006.           (decimal/hex numbers and characters/numbers), each of your categ-
  1007.           ory names, and all the instructions.  For each instruction, you
  1008.           see
  1009.  
  1010.             o its name.
  1011.  
  1012.             o the two-character key PrnSet has constructed for it.  (If
  1013.               this key duplicates something above, you'll get a warning,
  1014.               pointing it out.)
  1015.  
  1016.             o If the instruction is an @ sign sub-head marker, you'll find
  1017.               "Subhead Marker: " followed by the marker it makes.  Other-
  1018.               wise, you're told:
  1019.  
  1020.                 - whether it takes a number, some numeral characters or
  1021.                   nothing at all.
  1022.  
  1023.                 - the turn-on and turn-off instructions.  The format of
  1024.                   these will follow the format of a data file as near as
  1025.                   possible.  In numerical format, the numbers will be sep-
  1026.                   arated with commas.  In character format, you may find
  1027.                   that things you entered with numbers turn up as charac-
  1028.                   ters and vice versa.  Two special cases:
  1029.  
  1030.                   The Escape character (#27) is represented as "<Esc>".  To
  1031.                   avoid confusion, if a real 5-character sequence, "<Esc>"
  1032.                   happens to occur, it will be displayed as "\060Esc\062"
  1033.                   (in decimal) or "\3CEsc\3E" (if you asked for hex).
  1034.  
  1035.                   In the place where run-time numbers are inserted, you
  1036.                   should find a "#" if the instruction takes a number; if
  1037.                   it takes numerals, there'll be dollar signs: "$$" means
  1038.                   two numerals, "$$$" means three, etc.  If you need real #
  1039.                   or $ signs in your file, you'll have entered them either
  1040.                   as numbers or with a preceding "\", and that's how
  1041.                   they'll be in PRNSET.LST.
  1042.  
  1043.           These data should all be the same as what you've put in your data
  1044.           file, of course, but they aren't just reprinted from your file.
  1045.           They're reconstructed from the data as PrnSet absorbed it, so you
  1046.           can tell what's going down properly and what isn't.
  1047.           PrnSet: Update History                                    Page 18
  1048.  
  1049.  
  1050.  
  1051.  
  1052.                              Appendix A:  Update History                             Appendix A:  Update History
  1053.  
  1054.  
  1055.           Version 1.1 December, 1986
  1056.  
  1057.           Okidatas, it turns out, want certain  numbers (left margin, for
  1058.           instance) entered as strings of numerals.  So provided in 1.1.
  1059.           Also, provision made for comments in data file.
  1060.  
  1061.  
  1062.           Version 1.2 February, 1987
  1063.  
  1064.           Minor change: screen colors specified with typed constants.
  1065.           Colors can be jiggered with DEBUG or disk editor without source
  1066.           code or Turbo compiler.
  1067.  
  1068.  
  1069.           Version 1.3 June, 1987
  1070.  
  1071.           Another minor change to make recovery from off-line printer more
  1072.           graceful.  A minor cost for this is giving up the option to
  1073.           redirect output to a file by changing a constant in the source.
  1074.  
  1075.  
  1076.           Version 1.4 November, 1987
  1077.  
  1078.           Reconfiguration option added, so user no longer needs source
  1079.           code.  Just to be sure, maximum length of print control strings
  1080.           is increased from 24 to 40.  Help screen prettied up some, too.
  1081.  
  1082.  
  1083.           Version 1.5  Also November, 1987
  1084.  
  1085.           Screens more polished, and reconfiguration can be done from
  1086.           inside PrnSet.
  1087.  
  1088.               {========================================================}
  1089.               {  The less said about versions 1.6 and 2.0 the better.  }
  1090.               {========================================================}
  1091.  
  1092.           Version 2.1  December, 1987
  1093.  
  1094.           Rewritten in Turbo Pascal 4; smoothed and slightly shrunk; now
  1095.           makes an .LST record automatically if error prevents loading
  1096.           data.  Reconfiguration procedure simplified.
  1097.  
  1098.  
  1099.           Version 2.2  March, 1988
  1100.  
  1101.           Better handling of disk and printer errors.  Reconfiguration also
  1102.           recolors E88.EXE if it's on the default drive.
  1103.           PrnSet: Update History                                    Page 19
  1104.  
  1105.  
  1106.           Version 2.3  August, 1988
  1107.  
  1108.           New function: copy a file to PRN without leaving PrnSet. Block-
  1109.           Reads files for speed.  Handles lines of any length.
  1110.  
  1111.  
  1112.           Version 2.4  August, 1988
  1113.  
  1114.           Uses an inline "BlockPrint" procedure to feed text to printer via
  1115.           INT 17h.  Much faster, though less ingenious than 2.3's method.
  1116.  
  1117.  
  1118.           Version 2.5 August, 1988 (busy month)
  1119.  
  1120.           Output can be redirected to a file.
  1121.  
  1122.  
  1123.           Version 2.6 September, 1988
  1124.  
  1125.           Debugged a loose cannon in the BlockPrint routine. Redirected
  1126.           output was fine; bug showed only when printing to paper.
  1127.  
  1128.  
  1129.           Version 2.61 October, 1988
  1130.  
  1131.                               ___          2.5 and 2.6 checked too thoroughly for printer error.  Most
  1132.                                                                   ___          printers never "acknowledge."  Should be ignored. Maybe now
  1133.           PrnSet will let the message through.
  1134.  
  1135.  
  1136.           Version 2.70 October, 1988
  1137.  
  1138.           Various versions of 2.6 had various unreliabilities, mostly in
  1139.           copying files.  These are now (I hope) fixed, and the error trap-
  1140.           ping is somewhat improved.  Yes, you can BlockWrite to a text
  1141.           device if you Reset or Rewrite to RecSize 1.
  1142.  
  1143.           PRN, LPT2,and LPT3 get special treatment.  I'd appreciate word
  1144.           from anyone who's tried Prnset on a serial printer.
  1145.  
  1146.  
  1147.           Version 2.71 November, 1988
  1148.  
  1149.           Wildcards (* and ?) can now be used in file names.  Smoothed
  1150.           error messages and bulletproofed as far as I can, but you can
  1151.           still make a mess by opening the drive door in the middle of a
  1152.           write.
  1153.  
  1154.  
  1155.           Versions 2.72 & 2.73 December, 1988
  1156.  
  1157.           Trivial changes, mainly in getting file names from user and pre-
  1158.           serving data in bungled output files.
  1159.           PrnSet: Update History                                    Page 20
  1160.  
  1161.  
  1162.           Version 2.80 March, 1989
  1163.  
  1164.           Some associated text file tools added: Pagina, Prn2Both, Mangler,
  1165.           & CountPgs (which has been around for a while).  The only change
  1166.           in PrnSet proper is the ability to re-color its "friends" if they
  1167.           are on the drive:\directory when the reconfig function is run.
  1168.  
  1169.  
  1170.           Version 2.81 April, 1989
  1171.  
  1172.           Cured a 2.80 bug (wouldn't file data for debugging) and added a
  1173.           DOS door.  2.81a slightly smooths and bulletproofs it.  2.81b & c
  1174.           smooth screen attribute handling on monochrome monitor.
  1175.  
  1176.  
  1177.           Version 2.82 June, 1989
  1178.  
  1179.           Hardware reset capability added along with some complications
  1180.           (they may be improvements) in checking for missing or off-line
  1181.           printer.
  1182.  
  1183.           Serious bug in file printing routine repaired.  (It wouldn't work
  1184.           without a printer buffer.)
  1185.  
  1186.           2.82 makes an improvement but not a full cure.  The problem is
  1187.           when to check printer status and when NOT to check.  Versions
  1188.           2.83 and 2.84 make further improvements.  2.85 fixes 2.82-intro-
  1189.           duced bungle about command line instructions and removes Ctrl-Z
  1190.           from end of file being printed or copied. (Matters only when
  1191.           output is redirected to file.)
  1192.  
  1193.  
  1194.           Version 2.86 January, 1990
  1195.  
  1196.           Repairs a bug in the path-searching routine (it would hang when
  1197.           trying to read an environment string more than 255 characters
  1198.           past the beginning of the environment).
  1199.  
  1200.           2.86b adds a correction to the path searching routine to make
  1201.           sure it doesn't overlook the default drive.  2.86c cures a VGA
  1202.           cursor bug.  2.86d enlarges the title string to 18 characters.
  1203.           2.86e sends output to standard output and/or standard error when
  1204.           bypassing the menu.
  1205.  
  1206.  
  1207.           Version 2.90 November, 1990
  1208.  
  1209.           To accommodate H-P printers, numbers or numerals entered at run-
  1210.           time can be put anywhere in the instruction's ON string (instead
  1211.           of only at the end).
  1212.  
  1213.           Labels and dividers can be put into the menu columns to mark sub-
  1214.           heads.
  1215.           PrnSet: Update History                                    Page 21
  1216.  
  1217.  
  1218.           Version 2.91 September, 1991
  1219.  
  1220.           Data files can be made with hex numbers (instead of decimals) or
  1221.           direct characters.  PRNSET.LST debugging information file warns
  1222.           of duplicate instruction ID's.  2.91a cleans up the treatment of
  1223.           the "Escape" character in PRNSET.LST. 2.91b & 2.91c neaten up
  1224.           PRNSET.LST.  2.91d uses "Reversed" color for text entry field
  1225.           instead of reverse of "Normal".  Also fixes buglet about blanks
  1226.           in instruction names
  1227.  
  1228.  
  1229.           Version 2.92 June, 1992
  1230.  
  1231.           New function: It's now possible to make a menu item that accepts
  1232.           direct entry of keystrokes from the keyboard.  To check these,
  1233.           you can now file data into PRNSET.LST repeatedly.  (Each over-
  1234.           writes the last, though.)  2.92a fixes a bug in the handling of
  1235.           errors in direct entry.
  1236.  
  1237.  
  1238.           Version 2.93 October, 1992
  1239.  
  1240.               Bug repair: File copy can access Read Only files.  (Turbo
  1241.           Pascal's reset balks at read only non-text files.)  2.93 re-
  1242.           repairs this bug the right way (it's really only a documentation
  1243.           fault).
  1244.  
  1245.           Version 2.93b January, 1993
  1246.  
  1247.               Minor bug fix to prevent reconfig function from trying to
  1248.           work on compressed (PKLITE or LZEXE) files.  An important change,
  1249.           however is that E88, the text editor in the "PrnSet & Friends"
  1250.           package, has been replaced by Terse (T.COM).  Terse can handle
  1251.           bare CR's.
  1252.           PrnSet: Update History                                    Page 22
  1253.  
  1254.  
  1255.  
  1256.  
  1257.           Version 2.94 June, 1993
  1258.  
  1259.               At the color configuration screen, turning any foreground
  1260.           color black gets you a black-and-white screen, thus punching F-
  1261.           keys on an invisible screen eventually makes it visible.  Added
  1262.           this feature after seeing what happens on a black-and-white
  1263.           laptop screen.
  1264.  
  1265.           Version 2.95 November, 1994
  1266.  
  1267.               Enabled the use of bright background colors in the menu
  1268.           display.
  1269.  
  1270.           Version 2.96 December, 1994
  1271.  
  1272.               /QUIET option (no report on screen when running from command
  1273.           line)  added for use in batch file.  Also, now can work on (the
  1274.           lower part  of) 43 and 50 line screens.
  1275.  
  1276.  
  1277.                               Appendix B:  About Updates                              Appendix B:  About Updates
  1278.  
  1279.  
  1280.               Updates to my programs appear irregularly and sometimes fre-
  1281.           quently, as bugs or suggestions are brought to my attention.
  1282.           Since I make no charge for these things, I can't afford to send
  1283.           updates to every software library and BBS which may be carrying
  1284.           them.  As of this writing, one place I do make an effort to keep
  1285.           up to date is Nelson Ford's "Public (software) Library."  The
  1286.           address is:
  1287.  
  1288.                             The Public (software) Library
  1289.                                    P.O. Box 35705
  1290.                                Houston, TX 77235-5705
  1291.  
  1292.           Since the PsL is prompt both in updating their material and in
  1293.           filling their orders, they're one place where you can be sure of
  1294.           getting my latest efforts.  It is not unethical to take my pro-
  1295.                                                                __          grams off a PsL disk and package them yourself.  (It is unethical
  1296.           and probably illegal to copy the whole PsL disk including other
  1297.           programs and the PsL's own explanatory files and programs.)
  1298.  
  1299.               Of course, people who send me useful suggestions and bug
  1300.           reports are liable to be sent a copy of the fix (if I can make
  1301.           one).  They are also liable to be drafted into my Beta Testing
  1302.           Division.
  1303.  
  1304.  
  1305.                                     Programmer: R. N. Wisan, December, 1994
  1306.                                       37 Clinton Street, Oneonta, NY, 13820
  1307.                                               internet: wisanr@hartwick.edu
  1308.           PrnSet 2.96                                                Page i
  1309.  
  1310.  
  1311.  
  1312.  
  1313.  
  1314.  
  1315.                                         Contents                                        Contents
  1316.  
  1317.  
  1318.  
  1319.  
  1320.                   1  What PrnSet is  . . . . . . . . . . . . . . . . 1
  1321.                   2  Setting up: The Files . . . . . . . . . . . . . 1
  1322.                   3  Running PrnSet  . . . . . . . . . . . . . . . . 3
  1323.                      3.1  The Interactive Mode . . . . . . . . . . . 3
  1324.                         3.1.1  Setting the Printer                   4
  1325.                         3.1.2  Printing and Sending to Files         5
  1326.                         3.1.3  Stepping Briefly into DOS             6
  1327.                      3.2  The Command Line Mode  . . . . . . . . . . 6
  1328.                   4  Making a Data File for Your Printer . . . . . . 8
  1329.                      4.1  Using Hex Numbers and Characters . . . .  10
  1330.                      4.2  Helpful Hints About Data Files . . . . .  11
  1331.                      4.3  Two Special Codes  . . . . . . . . . . .  12
  1332.                         4.3.1  Printer Reset                        13
  1333.                         4.3.2  Keyboard Entry on the Fly            13
  1334.                   5  Screen Colors and Other Things  . . . . . . .  14
  1335.                      5.1  Screen Colors  . . . . . . . . . . . . .  15
  1336.                      5.2  If You Need Black & White: . . . . . . .  16
  1337.                      5.3  Warning About File Compactors  . . . . .  16
  1338.                      5.4  Debugging Help . . . . . . . . . . . . .  16
  1339.                   Appendix A:  Update History  . . . . . . . . . .  18
  1340.                   Appendix B:  About Updates . . . . . . . . . . .  22